import config from '@/config'
import request from '@/utils/request'

// 订单列表
export function getOrderList(params: any) {
    return request.get({ url: '/user.interests/getOrderList', params})
}
// 会员列表
export function getHuiyuanList(params: any) {
    return request.get({ url: '/user.interests/getHuiyuanList', params})
}
// 权益列表
export function getItemList() {
    return request.get({ url: '/user.interests/getItemList' })
}
// 保存等级权益
export function saveInterestsItem(params: any) {
    return request.post({ url: '/user.interests/saveInterestsItem', params })
}
// 会员等级列表
export function getVipList() {
    return request.get({ url: '/user.interests/getList' })
}